add_library(ba_library STATIC
    bal_problem.h
    bal_problem.cpp
    reprojection_error.h
)
target_link_libraries(ba_library
    ${CERES_LIBRARIES}
)
set_target_properties(ba_library PROPERTIES LINKER_LANGUAGE CXX)

add_executable (01_simple main.cpp)
target_link_libraries(01_simple ba_library)
